const Promise = function(executor){
	if(!(executor instanceof Function)){
		throw "executor类型错误！"
	}
	this.state = "pending";// 状态
	this.result = undefined;// 状态值
	executor(function(){
	
	},function(){
	
	});
};
export default Promise;